package com.zfx.service;

import com.zfx.pojo.User;

import java.util.List;

/**
 * @description: 用户服务层接口
 * @author: zfx
 */
public interface IUserService {

    public List<User> findByUser(User user, int page, int size);

    public User findById(String userId);

    public int update(User user);

    public User login(User user);

    public boolean register(User user);
}
